package com.secsys.model;

import java.sql.Timestamp;
import java.util.Date;

/**
 * TbBbsMessage entity. @author MyEclipse Persistence Tools
 */

public class TbBbsMessage implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer userId;
	private String title;
	private String content;
	private Date sendTime;
	private Integer reviceId;
	private String reviceName;
	private String userStatue;
	private String reviceStatue;
	private String userName;

	// Constructors

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	/** default constructor */
	public TbBbsMessage() {
	}

	/** minimal constructor */
	public TbBbsMessage(Integer userId, String title, String content,
			Timestamp sendTime, Integer reviceId, String reviceName) {
		this.userId = userId;
		this.title = title;
		this.content = content;
		this.sendTime = sendTime;
		this.reviceId = reviceId;
		this.reviceName = reviceName;
	}

	/** full constructor */
	public TbBbsMessage(Integer userId, String title, String content,
			Timestamp sendTime, Integer reviceId, String reviceName,
			String userStatue, String reviceStatue) {
		this.userId = userId;
		this.title = title;
		this.content = content;
		this.sendTime = sendTime;
		this.reviceId = reviceId;
		this.reviceName = reviceName;
		this.userStatue = userStatue;
		this.reviceStatue = reviceStatue;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getSendTime() {
		return this.sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public Integer getReviceId() {
		return this.reviceId;
	}

	public void setReviceId(Integer reviceId) {
		this.reviceId = reviceId;
	}

	public String getReviceName() {
		return this.reviceName;
	}

	public void setReviceName(String reviceName) {
		this.reviceName = reviceName;
	}

	public String getUserStatue() {
		return this.userStatue;
	}

	public void setUserStatue(String userStatue) {
		this.userStatue = userStatue;
	}

	public String getReviceStatue() {
		return this.reviceStatue;
	}

	public void setReviceStatue(String reviceStatue) {
		this.reviceStatue = reviceStatue;
	}

}